package com.eclink.asset.convert;

import com.eclink.asset.domain.AuditConfigNode;
import com.eclink.asset.pojo.dto.AssetAuditConfigNodeDTO;
import com.eclink.asset.pojo.vo.AssetAuditConfigNodeVO;
import org.mapstruct.Mapper;

import java.util.List;
/**
 * 【请填写功能名称】  DO <=> DTO <=> VO / BO / Query
 *
 * @author zcc
 */
@Mapper(componentModel = "spring")
public interface AssetAuditConfigNodeConvert  {

    /**
     * @param source DO
     * @return DTO
     */
    AssetAuditConfigNodeDTO do2dto(AuditConfigNode source);

    /**
     * @param source DTO
     * @return DO
     */
    AuditConfigNode dto2do(AssetAuditConfigNodeDTO source);

    List<AssetAuditConfigNodeVO> dos2vos(List<AuditConfigNode> list);
}
